Smush\Core\Modules\Resize A

Total Complexity 71
Dependencies 2
Dependents 1
Total lines 420
Lines of code 184
Logical lines of code 115
Comment lines 165
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
check_should_resize()
B
46 17 36
auto_resize()
A
46 14 38
initialize()
A
56 11 15
perform_resize()
A
49 9 33
maybe_unlink()
A
53 8 23
should_resize()
S
66 4 7
try_gd_fallback()
S
62 2 13
maybe_disable_module()
S
74 2 4
file_name()
S
72 2 6
init()
S
75 1 4
replace_original_image()
S
72 1 5